﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebDataGet.Models
{
    internal class WebDataJson
    {
        public class Rootobject
        {
            public string code { get; set; }
            public bool success { get; set; }
            public Data data { get; set; }
            public string msg { get; set; }
        }

        public class Data
        {
            public int pageNum { get; set; }
            public int pageSize { get; set; }
            public int total { get; set; }
            public int pages { get; set; }
            public List[] list { get; set; }
            public int flag { get; set; }
            public int communicationState { get; set; }
        }

        public class List
        {
            public int id { get; set; }
            public string imei { get; set; }
            public string stateStr { get; set; }
            public int pastNumber { get; set; }
            public string wellLidStatus { get; set; }
            public string defenseStatus { get; set; }
            public string voltageStatus { get; set; }
            public string voltageValue { get; set; }
            public string signalStatus { get; set; }
            public string signalValue { get; set; }
            public string waterStatus { get; set; }
            public string waterValue { get; set; }
            public string tempStatus { get; set; }
            public string tempValue { get; set; }
            public string snr { get; set; }
            public string rsrp { get; set; }
            public int wakeupTime { get; set; }
            public string batteryVoltage { get; set; }
            public string wellLidangle { get; set; }
            public string rsrq { get; set; }
            public string time { get; set; }
            public string reportTime { get; set; }
            public string cogasAlarm { get; set; }
            public string cogasValue { get; set; }
            public string ogasAlarm { get; set; }
            public string ogasValue { get; set; }
            public string shakeAlarm { get; set; }
            public string chgasValue { get; set; }
            public string chgasAlarm { get; set; }
            public string hsgasAlarm { get; set; }
            public string hsgasValue { get; set; }
        }

    }
}
